package manager.actionform;

import org.apache.struts.action.ActionForm;

/**
 * 老师Form，装载老师的信息
 * 
 * May 10, 2009
 *
 * @author Fabian
 *
 */
public class TeacherForm extends ActionForm {
	//分页的起始记录
	private int start;
	//每页显示记录数
	private int limit;
	//编号
	private int id;
	//姓名
	private String name;
	//性别
	private String sex;
	//登陆名
	private String nickname;
	//密码
	private String password;
	//专业id
	private int majorId;
	//放置删除传递到后台的id集合字符串
	private String delStr;
	
	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}
	/**
	 * @param start the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}
	/**
	 * @return the limit
	 */
	public int getLimit() {
		return limit;
	}
	/**
	 * @param limit the limit to set
	 */
	public void setLimit(int limit) {
		this.limit = limit;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the majorId
	 */
	public int getMajorId() {
		return majorId;
	}
	/**
	 * @param majorId the majorId to set
	 */
	public void setMajorId(int majorId) {
		this.majorId = majorId;
	}
	/**
	 * @return the delStr
	 */
	public String getDelStr() {
		return delStr;
	}
	/**
	 * @param delStr the delStr to set
	 */
	public void setDelStr(String delStr) {
		this.delStr = delStr;
	}
}
